
import React from 'react';
import styles from './Beian.less';
import beianIcon from '../../assets/beian.png';
class Hearder extends React.PureComponent {
    constructor(props) {
        super(props);
    }

    toBeianIndex = e => {
        window.open("http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=50011402500365");
    }

    toBeianMiitIndex = e => {
        window.open("http://www.beian.miit.gov.cn");
    }

    render() {
        const { toBeianIndex, toBeianMiitIndex } = this;
        return (<div className="centerX">
            <div className="centerY">
                <div className={styles.c_by}>Jiu Wusan ©2019 Created by 953</div>/
                <div className={styles.miit + " pointer"} onClick={toBeianMiitIndex}>渝ICP备18007185号-1</div></div>
            <div onClick={toBeianIndex} className="centerY pointer">
                <img className={styles.beianIcon} src={beianIcon}></img>
                <div>渝公网安备 50011402500365号</div>
            </div>
        </div>);
    }
}

export default Hearder;